package com.ruoyi.project.warehouse.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 总库入库记录对象 ware_warehouse_totalin
 *
 * @author You
 * @date 2022-09-04
 */
public class WareWarehouseTotalin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** wbs编码 */
    @Excel(name = "wbs编码")
    private String wbs;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数量 */
    private Double totalNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 供应商id */
    private String supplyId;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supply;

    /** 库位 */
    @Excel(name = "库位")
    private String location;

    /** 原属项目 */
    @Excel(name = "原属项目")
    private String belongToProject;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Double inNumber;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inTime;

    /** 操作人/经办人 */
    @Excel(name = "操作人/经办人")
    private String operator;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标记 */
    private String delFlag;

    /** 种类编码 */
    private String kindCode;

    /** 品类编码 */
    private String categoryCode;

    /** 项编码 */
    private String itemCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSpecifications(String specifications)
    {
        this.specifications = specifications;
    }

    public String getSpecifications()
    {
        return specifications;
    }
    public void setWbs(String wbs)
    {
        this.wbs = wbs;
    }

    public String getWbs()
    {
        return wbs;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setTotalNum(Double totalNum)
    {
        this.totalNum = totalNum;
    }

    public Double getTotalNum()
    {
        return totalNum;
    }
    public void setUnitPrice(BigDecimal unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice()
    {
        return unitPrice;
    }
    public void setTotalPrice(BigDecimal totalPrice)
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice()
    {
        return totalPrice;
    }
    public void setSupplyId(String supplyId)
    {
        this.supplyId = supplyId;
    }

    public String getSupplyId()
    {
        return supplyId;
    }
    public void setSupply(String supply)
    {
        this.supply = supply;
    }

    public String getSupply()
    {
        return supply;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setBelongToProject(String belongToProject)
    {
        this.belongToProject = belongToProject;
    }

    public String getBelongToProject()
    {
        return belongToProject;
    }
    public void setInNumber(Double inNumber)
    {
        this.inNumber = inNumber;
    }

    public Double getInNumber()
    {
        return inNumber;
    }
    public void setInTime(Date inTime)
    {
        this.inTime = inTime;
    }

    public Date getInTime()
    {
        return inTime;
    }
    public void setOperator(String operator)
    {
        this.operator = operator;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setKindCode(String kindCode)
    {
        this.kindCode = kindCode;
    }

    public String getKindCode()
    {
        return kindCode;
    }
    public void setCategoryCode(String categoryCode)
    {
        this.categoryCode = categoryCode;
    }

    public String getCategoryCode()
    {
        return categoryCode;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("specifications", getSpecifications())
            .append("wbs", getWbs())
            .append("brand", getBrand())
            .append("unit", getUnit())
            .append("totalNum", getTotalNum())
            .append("unitPrice", getUnitPrice())
            .append("totalPrice", getTotalPrice())
            .append("supplyId", getSupplyId())
            .append("supply", getSupply())
            .append("location", getLocation())
            .append("belongToProject", getBelongToProject())
            .append("inNumber", getInNumber())
            .append("inTime", getInTime())
            .append("operator", getOperator())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("kindCode", getKindCode())
            .append("categoryCode", getCategoryCode())
            .append("itemCode", getItemCode())
            .toString();
    }
}
